export interface LoginFromData {
    name: string
    password: string
}

export interface Response {
    code: number
    msg: string
    data?: any
}

export interface UserInfo {
    userId?: number
    userName?: string
    webSocketId?: string
    privileges?: string[]
}

export interface WebSocketMessage {
    type: "kick_off_line" | "workflow_assignee_task_notify"
    [key: string]: any
}